Skip to content

Fix azdev extension update-index/publish failing to read wheel metadata#552

Merged
aryasadeghi1 merged 2 commits into
Azure:devfrom
aryasadeghi1:fix/7740-update-index-whl-suffix
Jun 24, 2026
Merged

Fix azdev extension update-index/publish failing to read wheel metadata#552
aryasadeghi1 merged 2 commits into
Azure:devfrom
aryasadeghi1:fix/7740-update-index-whl-suffix

Conversation

@aryasadeghi1

@aryasadeghi1 aryasadeghi1 commented Jun 22, 2026

Copy link
Copy Markdown
Member

After decoupling extension metadata from wheel==0.30.0 (#549), the wheel was downloaded under the bare extension name (no extension), but the new pkginfo. Wheel-based reader requires a .whl filename, so it raised ValueError: Not a known wheel archive format.

The old zipfile-based reader was extension-agnostic, so this never surfaced before.

  • update_extension_index: download the wheel using the URL's .whl basename.
  • read_pkginfo: fall back to a temporary .whl copy for any non-.whl path.
  • Bump to 0.2.12.

2. Editable installs honor pinned setuptools

Editable installs (azdev setup, azdev extension add, code generation) now pass --no-build-isolation so wheels build against the environment's pinned setuptools (>=78.1.1,<80) instead of an isolated PEP 517 build environment.
This fixes editable-install failures introduced by the setuptools pinning.

@aryasadeghi1 aryasadeghi1 self-assigned this Jun 22, 2026
wangzelin007
wangzelin007 previously approved these changes Jun 24, 2026
@aryasadeghi1 aryasadeghi1 merged commit 644d296 into Azure:dev Jun 24, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants